package com.gzx.plugin.tjzy.modular.phone.complaint.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.gzx.plugin.tjzy.modular.phone.complaint.bo.GzxComplaintPhoneAddOrEditBo;
import com.gzx.plugin.tjzy.modular.phone.complaint.bo.GzxComplaintPhoneQueryBo;
import com.gzx.plugin.tjzy.modular.phone.complaint.entity.GzxComplaintPhone;
import com.gzx.plugin.tjzy.modular.phone.complaint.vo.GzxComplaintPhoneVo;
import com.gzx.plugin.tjzy.modular.phone.dto.GzxPhoneStatusDto;
import vip.xiaonuo.common.mvc.service.BaseService;

import java.util.List;

public interface GzxComplaintPhoneDbService extends BaseService<GzxComplaintPhoneAddOrEditBo, GzxComplaintPhoneVo, GzxComplaintPhoneQueryBo> {

    /**
     * 查询投诉手机号
     *
     * @param lambdaQueryWrapper
     * @return
     */
    List<GzxComplaintPhone> selectList(LambdaQueryWrapper<GzxComplaintPhone> lambdaQueryWrapper);


    /**
     * 批量保存到数据库
     *
     * @param phoneStatusDtoList
     * @param userId
     * @param tenantId
     */
    void saveBatch(List<GzxPhoneStatusDto> phoneStatusDtoList, String userId, String tenantId);
}
